home *** CD-ROM | disk | FTP | other *** search
/ PC World 2007 February / PCWorld_2007-02_cd.bin / v cisle / mcvirtual / Virtual PC 2004 SP1.exe / Virtual PC 2004 SP1 / Microsoft Virtual PC 2004 MSDN.msi / NT4NIC / oemsetup.inf < prev   
INI File  |  2004-01-31  |  43KB  |  1,027 lines

  1. [Identification]
  2.     OptionType = NetAdapter
  3. [PlatformsSupported]
  4.     ISA
  5.     EISA
  6.     "Jazz-Internal Bus"
  7.     PCI
  8. [Options]
  9.     DC21140
  10. [FileConstants]
  11. UtilityInf      = "UTILITY.INF"
  12. subroutineinf   = "SUBROUTN.INF"
  13. SoftwareType    = "driver"
  14. Exit_Code       = 0
  15. NetEventDLL     = "%SystemRoot%\System32\netevent.dll"
  16. IoLogMsgDLL     = "%SystemRoot%\System32\IoLogMsg.dll"
  17. Manufacturer    = "DigitalEquipmentCorporation"
  18. ProductMajorVersion     = "4"
  19. ProductMinorVersion     = "0"
  20. ProductVersion  = $(ProductMajorVersion)"."$(ProductMinorVersion)
  21. VendorID = 4113  
  22. ProductSoftwareName     = "DC21X4"
  23. ProductSoftwareTitle    = "DEC DC21X4 Adapter Driver"
  24. ProductSoftwareImagePath = "\SystemRoot\System32\drivers\DC21X4.sys"
  25. NetRuleSoftwareType     = "DC21X4Sys ndisDriver DC21X4Driver"
  26. NetRuleSoftwareUse      = $(SoftwareType)
  27. NetRuleSoftwareBindForm = """DC21X4Sys"" yes no container"
  28. NetRuleSoftwareClass    = {"DC21X4Driver basic"}
  29. NetRuleSoftwareSWBindable = {"DC21X4Driver DC21040Adapter non exclusive 100",+
  30.                              "DC21X4Driver DC21041Adapter non exclusive 100",+
  31.                              "DC21X4Driver DC21140Adapter non exclusive 100",+
  32.                              "DC21X4Driver DC21142Adapter non exclusive 100",+
  33.                              "DC21X4Driver MULTIAAdapter non exclusive 100",+
  34.                              "DC21X4Driver DE434Adapter non exclusive 100",+
  35.                              "DC21X4Driver DE435Adapter non exclusive 100",+
  36.                              "DC21X4Driver DE425Adapter non exclusive 100", +
  37.                              "DC21X4Driver DE450Adapter non exclusive 100", +
  38.                              "DC21X4Driver DE500Adapter non exclusive 100" }
  39. OptionHelpFile = "DC21X4.hlp"
  40. ProductHardwareName = "DC21X4"
  41. NetRuleHardwareDC21040Type  = "DC21040 DC21040Adapter"
  42. NetRuleHardwareDC21040Class = {"DC21040Adapter basic"}
  43. ProductOpSupport     = 134 
  44. ProductDE425OpSupport     = 132 
  45. AdapterDC21040Type = 5  
  46. HelpDC21040Id = 10
  47. DC21040CFID = 135185    
  48. NetRuleHardwareDC21041Type  = "DC21041 DC21041Adapter"
  49. NetRuleHardwareDC21041Class = {"DC21041Adapter basic"}
  50. AdapterDC21041Type = 5  
  51. HelpDC21041Id = 20
  52. DC21041CFID = 1314833    
  53. NetRuleHardwareDC21140Type  = "DC21140 DC21140Adapter"
  54. NetRuleHardwareDC21140Class = {"DC21140Adapter basic"}
  55. AdapterDC21140Type = 5   
  56. HelpDC21140Id = 30
  57. DC21140CFID = 593937     
  58. StoreAndForward = 0      
  59. TxmThreshold100 = 512    
  60. NetRuleHardwareDC21142Type  = "DC21142 DC21142Adapter"
  61. NetRuleHardwareDC21142Class = {"DC21142Adapter basic"}
  62. AdapterDC21142Type = 5   
  63. HelpDC21142Id = 40
  64. DC21142CFID = 1642513   
  65. NetRuleHardwareDE434Type    = "DE434 DE434Adapter"
  66. NetRuleHardwareDE434Class   = {"DE434Adapter basic"}
  67. AdapterDE434Type   = 5  
  68. HelpDE434Id = 100
  69. DE434CFID = 135185      
  70. NetRuleHardwareDE435Type    = "DE435 DE435Adapter"
  71. NetRuleHardwareDE435Class   = {"DE435Adapter basic"}
  72. AdapterDE435Type   = 5  
  73. HelpDE435Id = 110
  74. DE435CFID = 135185      
  75. NetRuleHardwareMULTIAType  = "MULTIA MULTIAAdapter"
  76. NetRuleHardwareMULTIAClass = {"MULTIAAdapter basic"}
  77. AdapterMULTIAType = 5  
  78. HelpMULTIAId = 130
  79. MULTIACFID = 135185    
  80. SiaRegister0 = 12353  
  81. SiaRegister1 = 0      
  82. SiaRegister2 = 6      
  83. NetRuleHardwareDE425Type    = "DE425 DE425Adapter"
  84. NetRuleHardwareDE425Class   = {"DE425Adapter basic"}
  85. AdapterDE425Type   = 2  
  86. DE425CFID = 135185      
  87. DE425_1BYTE = 1346544400  
  88. EISA_MASK   = 4043309055
  89. NetRuleHardwareDE450Type  = "DE450 DE450Adapter"
  90. NetRuleHardwareDE450Class = {"DE450Adapter basic"}
  91. AdapterDE450Type = 5  
  92. HelpDE450Id = 20
  93. DE450CFID = 1314833    
  94. NetRuleHardwareDE500Type  = "DE500 DE500Adapter"
  95. NetRuleHardwareDE500Class = {"DE500Adapter basic"}
  96. AdapterDE500Type = 5   
  97. HelpDE500Id = 30
  98. DE500CFID = 593937     
  99. NetRuleHardwareBindForm = " yes yes container"
  100. ProductKeyName  = $(!NTN_SoftwareBase)"\"$(Manufacturer)"\"$(ProductSoftwareName)"\CurrentVersion"
  101. ParamKeyName    = $(!NTN_ServiceBase)"\"$(ProductHardwareName)"\Parameters"
  102. [GeneralConstants]
  103. from      = ""
  104. to        = ""
  105. ExitCodeOk     = 0
  106. ExitCodeCancel = 1
  107. ExitCodeFatal  = 2
  108. KeyNull         = ""
  109. MAXIMUM_ALLOWED   = 33554432
  110. RegistryErrorIndex = NO_ERROR
  111. KeyProduct      = ""
  112. KeyParameters   = ""
  113. TRUE            = 1
  114. FALSE           = 0
  115. NoTitle            = 0
  116. ExitState   = "Active"
  117. OldVersionExisted = $(FALSE)
  118. DriverPath      = $(!STF_NTPATH)\drivers
  119. [date]
  120.     Now = {} ? $(!LIBHANDLE) GetSystemDate
  121. [Identify]
  122.     read-syms Identification
  123.     set Status     = STATUS_SUCCESSFUL
  124.     set Identifier = $(OptionType)
  125.     set Media      = #("Source Media Descriptions", 1, 1)
  126.     Return $(Status) $(Identifier) $(Media)
  127. [ReturnOptions]
  128.     set Status        = STATUS_FAILED
  129.     set OptionList     = {}
  130.     set OptionTextList = {}
  131.     set LanguageList = ^(LanguagesSupported, 1)
  132.     Ifcontains(i) $($0) in $(LanguageList)
  133.         ifstr(i) $($1) == ""
  134.            goto returnoptions
  135.         endif
  136.         set PlatformList = ^(PlatformsSupported, 1)
  137.         Ifcontains(i) $($1) in $(PlatformList)
  138.            goto returnoptions
  139.         else
  140.            set Status = STATUS_NOTSUPPORTED
  141.            goto finish_ReturnOptions
  142.         endif
  143.     else
  144.         set Status = STATUS_NOLANGUAGE
  145.         goto finish_ReturnOptions
  146.     endif
  147. returnoptions = +
  148.     set OptionList     = ^(Options, 1)
  149.     set OptionTextList = ^(OptionsText$($0), 1)
  150.     set Status         = STATUS_SUCCESSFUL
  151. finish_ReturnOptions = +
  152.     Return $(Status) $(OptionList) $(OptionTextList)
  153. [InstallOption]
  154.     set Option   = $($1)
  155.     set SrcDir   = $($2)
  156.     set AddCopy  = $($3)
  157.     set DoCopy   = $($4)
  158.     set DoConfig = $($5)
  159.     set LanguageList = ^(LanguagesSupported, 1)
  160.     Ifcontains(i) $($0) NOT-IN $(LanguageList)
  161.         Return STATUS_NOLANGUAGE
  162.     endif
  163.     set-subst LF = "\n"
  164.     read-syms GeneralConstants
  165.     read-syms FileConstants
  166.     set NetRuleSoftwareBindable = $($R1)
  167.     read-syms DialogConstants$(!STF_LANGUAGE)
  168.     ifstr(i) $(!NTN_Origination) == "NCPA"
  169.         set Continue = "OK"
  170.     endif
  171.     read-syms FileConstants$(!STF_LANGUAGE)
  172.     detect date
  173.     set-title  $(Function$(Option)Title)
  174.     set to   = Begin
  175.     set from = Begin
  176.     set CommonStatus = STATUS_SUCCESSFUL
  177.     EndWait
  178. Begin = +
  179.     Ifstr(i) $(!NTN_InstallMode) == deinstall
  180.         set StartLabel = removeadapter
  181.     else-Ifstr(i) $(!NTN_InstallMode) == Update
  182.         set StartLabel = UpgradeSoftware
  183.     else-Ifstr(i) $(!NTN_InstallMode) == bind
  184.         set StartLabel = bindingadapter
  185.     else-Ifstr(i) $(!NTN_InstallMode) == configure
  186.           Ifstr(i) $(ProductKeyName) == $(!NTN_RegBase)
  187.                Shell $(UtilityInf),RegistryErrorString,CANNOT_CONFIGURE_SOFTWARE
  188.                ifint $($ShellCode) != $(!SHELL_CODE_OK)
  189.                      goto ShellCodeError
  190.                endif
  191.                set Error = $($R0)
  192.                set from = end
  193.                set to = end
  194.                goto nonfatalinfo
  195.           else-ifstr(i) $(Option) == "DE425"
  196.                Shell $(UtilityInf),RegistryErrorString,CANNOT_CONFIGURE_HARDWARE
  197.                ifint $($ShellCode) != $(!SHELL_CODE_OK)
  198.                      goto ShellCodeError
  199.                endif
  200.                set Error = $($R0)
  201.                set from = end
  202.                set to = end
  203.                goto nonfatalinfo
  204.           else
  205.                set StartLabel = configureadapter
  206.           endif
  207.    else
  208.         set StartLabel = installadapter
  209.         set OEM_ABANDON_OPTIONS = {}
  210.         set OEM_ABANDON_SOFTWARE = FALSE
  211.         set OEM_ABANDON_ON = TRUE
  212.     endif
  213.     set from = $(fatal)
  214.     set to = $(fatal)
  215.     goto $(StartLabel)
  216. installadapter = +
  217.     OpenRegKey $(!REG_H_LOCAL) "" $(ProductKeyName) $(MAXIMUM_ALLOWED) KeyProduct
  218.     Ifstr $(KeyProduct) != $(KeyNull)
  219.         CloseRegKey $(KeyProduct)
  220.         ifstr(i) !(NTN_RegBase) == $(ProductKeyName)
  221.            Shell $(UtilityInf), VerExistedDlg, $(ProductSoftwareTitle),+
  222.                $(ProductVersion)
  223.            ifint $($ShellCode) != $(!SHELL_CODE_OK)
  224.                goto ShellCodeError
  225.            endif
  226.            goto end
  227.         else
  228.            Shell $(UtilityInf), CardExistedDlg
  229.            ifint $($ShellCode) != $(!SHELL_CODE_OK)
  230.               goto ShellCodeError
  231.            endif
  232.            ifstr(i) $($R1) != "OK"
  233.                set CommonStatus = STATUS_USERCANCEL
  234.                goto end
  235.            endif
  236.            set OldVersionExisted = $(TRUE)
  237.         endif
  238.     Endif
  239.     ifstr(i) $(DoCopy) == "YES"
  240.         Shell $(UtilityInf), DoAskSource, $(!STF_CWDDIR), $(SrcDir) YES
  241.         Ifint $($ShellCode) != $(!SHELL_CODE_OK)
  242.             Goto ShellCodeError
  243.         Else-Ifstr(i) $($R0) == STATUS_FAILED
  244.             Shell $(UtilityInf) RegistryErrorString "ASK_SOURCE_FAIL"
  245.             ifint $($ShellCode) != $(!SHELL_CODE_OK)
  246.                goto ShellCodeError
  247.             endif
  248.             set Error = $($R0)
  249.                Goto fatal
  250.         Else-Ifstr(i) $($R0) == STATUS_USERCANCEL
  251.                Goto successful
  252.         Endif
  253.         Set SrcDir = $($R1)
  254.         install "Install-Hlp"
  255.     endif
  256.     Goto installproduct
  257. configureadapter = +
  258.    Ifstr(i) $(KeyProduct) == $(KeyNull)
  259.         OpenRegKey $(!REG_H_LOCAL) "" $(!NTN_RegBase) $(MAXIMUM_ALLOWED) KeyProduct
  260.         Ifstr $(KeyProduct) == $(KeyNull)
  261.             Set RegistryErrorIndex = CANNOT_FIND_COMPONENT_SERVICE
  262.            Goto fatalregistry
  263.         Endif
  264.     Endif
  265.     Shell $(UtilityInf) FindService, $(KeyProduct)
  266.     Ifint $($ShellCode) != $(!SHELL_CODE_OK)
  267.         Goto ShellCodeError
  268.     Endif
  269.     Ifstr(i) $($R0) != NO_ERROR
  270.         Goto fatalregistry
  271.     endif
  272.     set KeyParameters = $($R2)
  273.     CloseRegKey $($R1)
  274.     Ifstr $(KeyParameters) == $(KeyNull)
  275.         set RegistryErrorIndex = CANNOT_FIND_COMPONENT_SERVICE
  276.         goto fatalregistry
  277.     endif
  278.     set OldVersionExisted = $(TRUE)
  279.     set ValueName = ""
  280.     set ValueData = ""
  281.     set ValueStr  = ""
  282.     set ValueList = {}
  283.     EnumRegValue $(KeyParameters) ValueList
  284.     ForListDo $(ValueList)
  285.         set ValueItem = $($)
  286.         set ValueName = *($(ValueItem),1)
  287.         set ValueData = *($(ValueItem),4)
  288.         Ifstr(i) $(ValueName) == "ConnectionType"
  289.             set ConnectionIndex = $(ValueData)
  290.         endif
  291.     EndForListDo
  292.     set ConnectionValue = *($(ConnectionList), ~($(ConnectionValues),$(ConnectionIndex)))
  293.     ifstr(i) $(ConnectionValue) == ""
  294.         set ConnectionValue = *($(ConnectionList), 2)
  295.     endif
  296. adapteroptions = +
  297.     ifstr(i) $(Option) != "DE425"
  298.         set from = adapteroptions
  299.         read-syms FileDependentDlg$(!STF_LANGUAGE)
  300.         SetHelpFile $(!STF_WINDOWSSYSPATH)"\"$(OptionHelpFile) $(MinHelpId) $(MaxHelpId) $(Help$(Option)Id)
  301.         ui start "InputDlg"
  302.         ifstr(i) $(DLGEVENT) == "CONTINUE"
  303.            set ConnectionIndex = $(Combo1Out)
  304.            ui pop 1
  305.         else-ifstr(i) $(DLGEVENT) == "BACK"
  306.            set CommonStatus = STATUS_USERCANCEL
  307.            ui pop 1
  308.            goto end
  309.         else
  310.            ui pop 1
  311.            goto end
  312.         endif
  313.         set ConnectionValue = *($(ConnectionValues), ~($(ConnectionList),$(ConnectionIndex)))
  314.         ifstr(i) $(!NTN_InstallMode) == configure
  315.            goto updateparameters
  316.         endif
  317.     endif
  318. installproduct =+
  319.     StartWait
  320.     ifstr(i) $(Option) == "DE425"
  321.         Shell $(UtilityInf), EISAFindBus, $($(Option)_1BYTE),$(EISA_MASK)
  322.         ifint $($ShellCode) != $(!SHELL_CODE_OK)
  323.              goto ShellCodeError
  324.         endif
  325.         ifstr $($R0) != "NO_ERROR"
  326.              set Error = $($R0)
  327.              goto fatal
  328.         endif
  329.         ifstr(i) $($R1) == {}
  330.              set Error = $(CANNOT_FIND_ANY_CARD)
  331.              set CommonStatus = USER_CANCEL
  332.              set from = end
  333.              goto nonfatal
  334.         endif
  335.         set AdapterList = $($R1)
  336.     else
  337.         set-div DeviceID = $($(Option)CFID) 65336
  338.         Shell $(UtilityInf), GetPCIInformation, $(VendorID) $(DeviceID)
  339.         ifint $($ShellCode) != $(!SHELL_CODE_OK)
  340.              goto ShellCodeError
  341.         endif
  342.         ifstr(i) $($R0) == {}
  343.              set Error = $(CANNOT_FIND_ANY_CARD)
  344.              set CommonStatus = USER_CANCEL
  345.              set from = end
  346.              goto nonfatal
  347.         endif
  348.         set AdapterList = $($R0)
  349.     endif
  350.     ifint $(OldVersionExisted) == $(FALSE)
  351.         Ifstr(i) $(DoCopy) == "YES"
  352.            Shell $(UtilityInf), DoAskSource, $(!STF_CWDDIR), $(SrcDir) YES
  353.            Ifint $($ShellCode) != $(!SHELL_CODE_OK)
  354.                Goto ShellCodeError
  355.            Else-Ifstr(i) $($R0) == STATUS_FAILED
  356.                Shell $(UtilityInf) RegistryErrorString "ASK_SOURCE_FAIL"
  357.                ifint $($ShellCode) != $(!SHELL_CODE_OK)
  358.                   goto ShellCodeError
  359.                endif
  360.                set Error = $($R0)
  361.                Goto fatal
  362.            Else-Ifstr(i) $($R0) == STATUS_USERCANCEL
  363.                Goto successful
  364.            Endif
  365.            Set SrcDir = $($R1)
  366.         Endif
  367.         install "Install-Option"
  368.         ifstr(i) $(STF_INSTALL_OUTCOME) != STF_SUCCESS
  369.            Shell $(UtilityInf) RegistryErrorString "UNABLE_COPY_FILE"
  370.            ifint $($ShellCode) != $(!SHELL_CODE_OK)
  371.                goto ShellCodeError
  372.            endif
  373.            set Error = $($R0)
  374.            goto fatal
  375.         endif
  376.         Shell $(UtilityInf), AddSoftwareComponent, $(Manufacturer), +
  377.             $(ProductSoftwareName), +
  378.             $(ProductSoftwareName), +
  379.             $(ProductSoftwareTitle), $(STF_CONTEXTINFNAME), +
  380.             $(ProductSoftwareImagePath), "kernel", "NDIS", {}, "",+
  381.             $(NetEventDLL)
  382.         Set OEM_ABANDON_SOFTWARE = TRUE
  383.         ifint $($ShellCode) != $(!SHELL_CODE_OK)
  384.             goto ShellCodeError
  385.         endif
  386.         set RegistryErrorIndex = $($R0)
  387.         Ifstr(i) $(RegistryErrorIndex) != "NO_ERROR"
  388.             EndWait
  389.             CloseRegKey $($R1)
  390.             CloseRegKey $($R2)
  391.             CloseRegKey $($R3)
  392.             CloseRegKey $($R4)
  393.             CloseRegKey $($R5)
  394.             goto fatalregistry
  395.         endif
  396.         Set SoftProductKey      = $($R1)
  397.         Set SoftNetRuleKey      = $($R2)
  398.         Set SoftServiceKey      = $($R3)
  399.         Set SoftParameterKey    = $($R4)
  400.         Set SoftLinkageKey      = $($R5)
  401.         set NewValueList = {{SoftwareType,$(NoTitle),$(!REG_VT_SZ),$(SoftwareType)},+
  402.                            {MajorVersion,$(NoTitle),$(!REG_VT_DWORD),$(ProductMajorVersion)},+
  403.                            {MinorVersion,$(NoTitle),$(!REG_VT_DWORD),$(ProductMinorVersion)},+
  404.                            {Title,$(NoTitle),$(!REG_VT_SZ),$(ProductSoftwareTitle)},+
  405.                            {Description,$(NoTitle),$(!REG_VT_SZ),$(ProductSoftwareDescription)},+
  406.                            {ServiceName,$(NoTitle),$(!REG_VT_SZ),$(ProductSoftwareName)},+
  407.                            {InstallDate,$(NoTitle),$(!REG_VT_DWORD),*($(Now),1)}}
  408.         Shell  $(UtilityInf), AddValueList, $(SoftProductKey), $(NewValueList)
  409.         ifint $($ShellCode) != $(!SHELL_CODE_OK)
  410.             goto ShellCodeError
  411.         endif
  412.         set RegistryErrorIndex = $($R0)
  413.         Ifstr(i) $(RegistryErrorIndex) != "NO_ERROR"
  414.             EndWait
  415.             CloseRegKey $(SoftProductKey)
  416.             CloseRegKey $(SoftNetRuleKey)
  417.             CloseRegKey $(SoftServiceKey)
  418.             CloseRegKey $(SoftParameterKey)
  419.             CloseRegKey $(SoftLinkageKey)
  420.             goto fatalregistry
  421.         endif
  422.         set NewValueList = {{type,$(NoTitle),$(!REG_VT_SZ),$(NetRuleSoftwareType)},+
  423.                             {use,$(NoTitle),$(!REG_VT_SZ),$(NetRuleSoftwareUse)}, +
  424.                             {bindform,$(NoTitle),$(!REG_VT_SZ),$(NetRuleSoftwareBindForm)}, +
  425.                             {class,$(NoTitle),$(!REG_VT_MULTI_SZ),$(NetRuleSoftwareClass)}, +
  426.                             {bindable,$(NoTitle),$(!REG_VT_MULTI_SZ),$(NetRuleSoftwareSWBindable)}, +
  427.                             {InfOption,$(NoTitle),$(!REG_VT_SZ),$(Option)}}
  428.         Shell  $(UtilityInf), AddValueList, $(SoftNetRuleKey), $(NewValueList)
  429.         ifint $($ShellCode) != $(!SHELL_CODE_OK)
  430.             goto ShellCodeError
  431.         endif
  432.         set RegistryErrorIndex = $($R0)
  433.         CloseRegKey $(SoftProductKey)
  434.         CloseRegKey $(SoftNetRuleKey)
  435.         CloseRegKey $(SoftServiceKey)
  436.         CloseRegKey $(SoftParameterKey)
  437.         CloseRegKey $(SoftLinkageKey)
  438.         Ifstr(i) $(RegistryErrorIndex) != "NO_ERROR"
  439.             EndWait
  440.             goto fatalregistry
  441.         endif
  442.     endif
  443.     ForListDo $(AdapterList)
  444.         set BusNum = *($($),1)
  445.         set DeviceNum = *($($),2)
  446.         set FunctionNum = *($($),3)
  447.         ifstr(i) $(Option) == "DE425"
  448.                 Shell $(UtilityInf), IsNetCardAlreadyInstalled, $(BusNum), +
  449.                     $(DeviceNum), $(FunctionNum), $(ProductHardware$(Option)Description), $(ProductHardwareName) "YES"
  450.                 ifint $($ShellCode) != $(!SHELL_CODE_OK)
  451.                     goto ShellCodeError
  452.                 endif
  453.                 ifstr $($R0) != "NO_ERROR"
  454.                     set Error = $($R0)
  455.                     goto fatal
  456.                 endif
  457.                 ifstr(i) $($R1) != "YES"
  458.                         Shell $(UtilityInf), AddHardwareComponent, $(ProductHardwareName),$(STF_CONTEXTINFNAME),$(ProductKeyName)
  459.                         ifint $($R4) != -1
  460.                             Set OEM_ABANDON_OPTIONS = >($(OEM_ABANDON_OPTIONS), +
  461.                                 $(!NTN_SoftwareBase)"\Microsoft\Windows NT\CurrentVersion\NetworkCards\"$($R4))
  462.                         endif
  463.                         ifint $($ShellCode) != $(!SHELL_CODE_OK)
  464.                             goto ShellCodeError
  465.                         endif
  466.                         set RegistryErrorIndex = $($R0)
  467.                         Ifstr(i) $(RegistryErrorIndex) != "NO_ERROR"
  468.                             EndWait
  469.                             CloseRegKey $($R1)
  470.                             CloseRegKey $($R2)
  471.                             CloseRegKey $($R3)
  472.                             goto fatalregistry
  473.                         endif
  474.                         Set HardNetCardKey      = $($R1)
  475.                         Set HardNetRuleKey      = $($R2)
  476.                         Set HardParameterKey    = $($R3)
  477.                         set AdapterNumber = $($R4)
  478.                         set NewValueList = {{Manufacturer,$(NoTitle),$(!REG_VT_SZ),$(Manufacturer)},+
  479.                                            {Title,$(NoTitle),$(!REG_VT_SZ),"["$($R4)"] "$(ProductHardware$(Option)Title)},+
  480.                                            {Description,$(NoTitle),$(!REG_VT_SZ),$(ProductHardware$(Option)Description)},+
  481.                                            {ProductName,$(NoTitle),$(!REG_VT_SZ),$(ProductHardwareName)},+
  482.                                            {ServiceName,$(NoTitle),$(!REG_VT_SZ),$($R5)},+
  483.                                            {OperationsSupport,$(NoTitle),$(!REG_VT_DWORD),$(ProductDE425OpSupport)},+
  484.                                            {InstallDate,$(NoTitle),$(!REG_VT_DWORD),*($(Now),1)}}
  485.                         Shell  $(UtilityInf), AddValueList, $(HardNetCardKey), $(NewValueList)
  486.                         ifint $($ShellCode) != $(!SHELL_CODE_OK)
  487.                             goto ShellCodeError
  488.                         endif
  489.                         set BusTypeNum = 2
  490.                         set NewValueList = {{AdapterType,$(NoTitle),$(!REG_VT_DWORD),$(Adapter$(Option)Type)},+
  491.                                         {BusType,$(NoTitle),$(!REG_VT_DWORD),$(BusTypeNum)},+
  492.                                         {MediaType,$(NoTitle),$(!REG_VT_DWORD),1},+
  493.                                         {BusNumber,$(NoTitle),$(!REG_VT_DWORD),$(BusNum)},+
  494.                                         {SlotNumber,$(NoTitle),$(!REG_VT_DWORD),$(DeviceNum)},+
  495.                                         {AdapterCFID,$(NoTitle),$(!REG_VT_DWORD),$($(Option)CFID)}}
  496.                         Shell  $(UtilityInf), AddValueList, $(HardParameterKey), $(NewValueList)
  497.                         ifint $($ShellCode) != $(!SHELL_CODE_OK)
  498.                             goto ShellCodeError
  499.                         endif
  500.                         set TempProdName = """"$(ProductHardwareName)$(AdapterNumber)""""
  501.                         set TempBindForm = $(TempProdName)$(NetRuleHardwareBindForm)
  502.                         set NewValueList = {{type,$(NoTitle),$(!REG_VT_SZ),$(NetRuleHardware$(Option)Type)},+
  503.                                             {bindform,$(NoTitle),$(!REG_VT_SZ),$(TempBindForm)}, +
  504.                                             {class,$(NoTitle),$(!REG_VT_MULTI_SZ),$(NetRuleHardware$(Option)Class)}, +
  505.                                             {InfOption,$(NoTitle),$(!REG_VT_SZ),$(Option)}}
  506.                         Shell  $(UtilityInf), AddValueList, $(HardNetRuleKey), $(NewValueList)
  507.                         ifint $($ShellCode) != $(!SHELL_CODE_OK)
  508.                             goto ShellCodeError
  509.                         endif
  510.                         CloseRegKey $(HardNetCardKey)
  511.                         CloseRegKey $(HardNetRuleKey)
  512.                         CloseRegKey $(HardParameterKey)
  513.                 endif
  514.         else
  515.             Shell $(UtilityInf), IsNetCardAlreadyInstalled, $(BusNum), +
  516.                 $(DeviceNum), $(FunctionNum), $(ProductHardware$(Option)Description), $(ProductHardwareName) "YES"
  517.             ifint $($ShellCode) != $(!SHELL_CODE_OK)
  518.                 goto ShellCodeError
  519.             endif
  520.             ifstr $($R0) != "NO_ERROR"
  521.                 set Error = $($R0)
  522.                 goto fatal
  523.             endif
  524.             ifstr(i) $($R1) != "YES"
  525.                Shell $(UtilityInf), AddHardwareComponent, $(ProductHardwareName),$(STF_CONTEXTINFNAME),$(ProductKeyName)
  526.                ifint $($R4) != -1
  527.                     Set OEM_ABANDON_OPTIONS = >($(OEM_ABANDON_OPTIONS), $(!NTN_SoftwareBase)"\Microsoft\Windows NT\CurrentVersion\NetworkCards\"$($R4))
  528.                endif
  529.                ifint $($ShellCode) != $(!SHELL_CODE_OK)
  530.                     goto ShellCodeError
  531.                endif
  532.                set RegistryErrorIndex = $($R0)
  533.                Ifstr(i) $(RegistryErrorIndex) != "NO_ERROR"
  534.                     EndWait
  535.                     CloseRegKey $($R1)
  536.                     CloseRegKey $($R2)
  537.                     CloseRegKey $($R3)
  538.                     goto fatalregistry
  539.                endif
  540.                read-syms FileDependentDlg$(!STF_LANGUAGE)
  541.                SetHelpFile $(!STF_WINDOWSSYSPATH)"\"$(OptionHelpFile) $(MinHelpId) $(MaxHelpId) $(Help$(Option)Id)
  542.                ui start "InputDlg"
  543.                ifstr(i) $(DLGEVENT) == "CONTINUE"
  544.                   set ConnectionIndex = $(Combo1Out)
  545.                   ui pop 1
  546.                else-ifstr(i) $(DLGEVENT) == "BACK"
  547.                   set CommonStatus = STATUS_USERCANCEL
  548.                   ui pop 1
  549.                   goto end
  550.                else
  551.                   ui pop 1
  552.                   goto end
  553.                endif
  554.                set ConnectionValue = *($(ConnectionValues), ~($(ConnectionList),$(ConnectionIndex)))
  555.                Set HardNetCardKey      = $($R1)
  556.                Set HardNetRuleKey      = $($R2)
  557.                Set HardParameterKey    = $($R3)
  558.                set AdapterNumber = $($R4)
  559.                set NewValueList = {{Manufacturer,$(NoTitle),$(!REG_VT_SZ),$(Manufacturer)},+
  560.                                    {Title,$(NoTitle),$(!REG_VT_SZ),"["$($R4)"] "$(ProductHardware$(Option)Title)},+
  561.                                    {Description,$(NoTitle),$(!REG_VT_SZ),$(ProductHardware$(Option)Description)},+
  562.                                    {ProductName,$(NoTitle),$(!REG_VT_SZ),$(ProductHardwareName)},+
  563.                                    {ServiceName,$(NoTitle),$(!REG_VT_SZ),$($R5)},+
  564.                                    {OperationsSupport,$(NoTitle),$(!REG_VT_DWORD),$(ProductOpSupport)},+
  565.                                    {InstallDate,$(NoTitle),$(!REG_VT_DWORD),*($(Now),1)}}
  566.                Shell  $(UtilityInf), AddValueList, $(HardNetCardKey), $(NewValueList)
  567.                ifint $($ShellCode) != $(!SHELL_CODE_OK)
  568.                     goto ShellCodeError
  569.                endif
  570.                set BusTypeNum = 5
  571.                set NewValueList = {{AdapterType,$(NoTitle),$(!REG_VT_DWORD),$(Adapter$(Option)Type)},+
  572.                                    {MediaType,$(NoTitle),$(!REG_VT_DWORD),1},+
  573.                                    {BusType,$(NoTitle),$(!REG_VT_DWORD),$(BusTypeNum)},+
  574.                                    {AdapterCFID,$(NoTitle),$(!REG_VT_DWORD),$($(Option)CFID)}}
  575.                Shell  $(UtilityInf), AddValueList, $(HardParameterKey), $(NewValueList)
  576.                ifint $($ShellCode) != $(!SHELL_CODE_OK)
  577.                     goto ShellCodeError
  578.                endif
  579.             ifint $($(Option)CFID) == $(DC21041CFID) 
  580.                set NewValueList = {{SnoozeMode,$(NoTitle),$(!REG_VT_DWORD),0}}
  581.                Shell  $(UtilityInf), AddValueList, $(HardParameterKey), $(NewValueList)
  582.                ifint $($ShellCode) != $(!SHELL_CODE_OK)
  583.                    goto ShellCodeError
  584.                endif
  585.             endif
  586.             ifint $($(Option)CFID) == $(DC21142CFID) 
  587.                 set NewValueList = {{SnoozeMode,$(NoTitle),$(!REG_VT_DWORD),0}}
  588.                 Shell  $(UtilityInf), AddValueList, $(HardParameterKey), $(NewValueList)
  589.                 ifint $($ShellCode) != $(!SHELL_CODE_OK)
  590.                     goto ShellCodeError
  591.                 endif
  592.             endif
  593.             ifint $($(Option)CFID) == $(DE450CFID) 
  594.                set NewValueList = {{SnoozeMode,$(NoTitle),$(!REG_VT_DWORD),0}}
  595.                Shell  $(UtilityInf), AddValueList, $(HardParameterKey), $(NewValueList)
  596.                ifint $($ShellCode) != $(!SHELL_CODE_OK)
  597.                    goto ShellCodeError
  598.                endif
  599.             endif
  600.             ifint $($(Option)CFID) == $(DC21140CFID) 
  601.                 set NewValueList = {{StoreAndForward,$(NoTitle),$(!REG_VT_DWORD),$(StoreAndForward)},+
  602.                                     {TransmitThreshold100,$(NoTitle),$(!REG_VT_DWORD),$(TxmThreshold100)},+
  603.                                     {SnoozeMode,$(NoTitle),$(!REG_VT_DWORD),0}}
  604.                 Shell  $(UtilityInf), AddValueList, $(HardParameterKey), $(NewValueList)
  605.                 ifint $($ShellCode) != $(!SHELL_CODE_OK)
  606.                     goto ShellCodeError
  607.                 endif
  608.             endif
  609.                ifstr(i) $(Option) == "MULTIA"
  610.                     set NewValueList = {{ExternalSia,$(NoTitle),$(!REG_VT_DWORD),1},+
  611.                                         {SiaRegister0,$(NoTitle),$(!REG_VT_DWORD),$(SiaRegister0)},+
  612.                                         {SiaRegister1,$(NoTitle),$(!REG_VT_DWORD),$(SiaRegister1)},+
  613.                                         {SiaRegister2,$(NoTitle),$(!REG_VT_DWORD),$(SiaRegister2)}}
  614.                     Shell  $(UtilityInf), AddValueList, $(HardParameterKey), $(NewValueList)
  615.                     ifint $($ShellCode) != $(!SHELL_CODE_OK)
  616.                          goto ShellCodeError
  617.                     endif
  618.                endif
  619.                set NewValueList = {{ConnectionType,$(NoTitle),$(!REG_VT_DWORD),$(ConnectionValue)}}
  620.                Shell  $(UtilityInf), AddValueList, $(HardParameterKey), $(NewValueList)
  621.                ifint $($ShellCode) != $(!SHELL_CODE_OK)
  622.                   goto ShellCodeError
  623.                endif
  624.                set TempProdName = """"$(ProductHardwareName)$(AdapterNumber)""""
  625.                set TempBindForm = $(TempProdName)$(NetRuleHardwareBindForm)
  626.                set NewValueList = {{type,$(NoTitle),$(!REG_VT_SZ),$(NetRuleHardware$(Option)Type)},+
  627.                                    {bindform,$(NoTitle),$(!REG_VT_SZ),$(TempBindForm)}, +
  628.                                    {class,$(NoTitle),$(!REG_VT_MULTI_SZ),$(NetRuleHardware$(Option)Class)}, +
  629.                                    {InfOption,$(NoTitle),$(!REG_VT_SZ),$(Option)}}
  630.                Shell  $(UtilityInf), AddValueList, $(HardNetRuleKey), $(NewValueList)
  631.                ifint $($ShellCode) != $(!SHELL_CODE_OK)
  632.                     goto ShellCodeError
  633.                endif
  634.                CloseRegKey $(HardNetCardKey)
  635.                CloseRegKey $(HardNetRuleKey)
  636.            set-mul SlotNum = $(FunctionNum), "32"
  637.            set-add SlotNum = $(SlotNum), $(FunctionNum)
  638.            set-mul SlotNum = $(FunctionNum), "32"
  639.            set-add SlotNum = $(SlotNum), $(DeviceNum)
  640.            set NewValueList = {{BusNumber,$(NoTitle),$(!REG_VT_DWORD),$(BusNum)},+
  641.            {SlotNumber,$(NoTitle),$(!REG_VT_DWORD),$(SlotNum)},+
  642.                                    {FunctionNumber,$(NoTitle),$(!REG_VT_DWORD),$(FunctionNum)}}
  643.                Shell  $(UtilityInf), AddValueList, $(HardParameterKey), $(NewValueList)
  644.                CloseRegKey $(HardParameterKey)
  645.             endif       
  646.         endif
  647.     EndForListDo
  648.     EndWait
  649.     goto successful
  650. updateparameters =+
  651.     set HardParameterKey    = $($R3)
  652.     set NewValueList = {{ConnectionType,$(NoTitle),$(!REG_VT_DWORD),$(ConnectionValue)}}
  653.    Shell  $(UtilityInf), AddValueList, $(KeyParameters), $(NewValueList)
  654.    ifint $($ShellCode) != $(!SHELL_CODE_OK)
  655.      goto ShellCodeError
  656.    endif
  657.    CloseRegKey $(KeyParameters)
  658.     goto successful
  659. bindingadapter =+
  660.     set Error = "Binding: Sorry, not yet implemented."
  661.     goto fatal
  662. removeadapter = +
  663.     Ifstr(i) $(ProductKeyName) == $(!NTN_RegBase)
  664.         Shell $(UtilityInf), RemoveSoftwareComponent, $(Manufacturer), +
  665.             $(ProductSoftwareName)
  666.         ifint $($ShellCode) != $(!SHELL_CODE_OK)
  667.             goto ShellCodeError
  668.         endif
  669.         set RegistryErrorIndex = $($R0)
  670.         Ifstr(i) $(RegistryErrorIndex) != NO_ERROR
  671.             goto fatalregistry
  672.         endif
  673.     else
  674.         Shell $(UtilityInf), RemoveHardwareComponent, $(Manufacturer), +
  675.             $(ProductSoftwareName), $(!NTN_RegBase)
  676.         ifint $($ShellCode) != $(!SHELL_CODE_OK)
  677.             goto ShellCodeError
  678.         endif
  679.         set RegistryErrorIndex = $($R0)
  680.         Ifstr(i) $(RegistryErrorIndex) != NO_ERROR
  681.             goto fatalregistry
  682.         endif
  683.     endif
  684.     goto end
  685. UpgradeSoftware = +
  686.      OpenRegKey $(!REG_H_LOCAL) "" $(ProductKeyName) $(MAXIMUM_ALLOWED) KeyProduct
  687.      Ifstr $(KeyProduct) != $(KeyNull)
  688.            Shell $(UtilityInf), GetInfFileNameFromRegistry, $(KeyProduct)
  689.            ifint $($ShellCode) != $(!SHELL_CODE_OK)
  690.                Debug-Output "ShellCode error"
  691.                goto ShellCodeError
  692.            endif
  693.            set !UG_Filename = $($R0)
  694.            install "Install-Update"
  695.            ifstr(i) $(STF_INSTALL_OUTCOME) != STF_SUCCESS
  696.                goto fatal
  697.            endif
  698.            SetRegValue $(KeyProduct) {MajorVersion,$(NoTitle),$(!REG_VT_SZ),$(ProductMajorVersion)}
  699.            SetRegValue $(KeyProduct) {MinorVersion,$(NoTitle),$(!REG_VT_SZ),$(ProductMinorVersion)}
  700.            CloseRegKey $(KeyProduct)
  701.      else
  702.            goto fatalregistry
  703.      endif
  704.     ifstr(i) $(Option) == "DE425"    
  705.         set OpSupport = $(ProductDE425OpSupport)
  706.     else
  707.         set OpSupport = $(ProductOpSupport)
  708.     endif
  709.     set iSearch = 1
  710. nextnetcard = +
  711.     Shell $(UtilityInf), FindNextNetworkCard, $(ProductHardwareName), $(iSearch)
  712.     set KeyNetcard = $($R0)
  713.     set iSearch = $($R1)
  714.     Debug-Output "OemNadEp.Inf: FindNextNetworkCard "$(KeyNetcard)","$(iSearch)
  715.     Ifstr $(KeyNetcard) != $(KeyNull)
  716.         Debug-Output "OemNadEp.Inf: Setting OperationsSupport value"
  717.         SetRegValue $(KeyNetcard) {OperationsSupport,$(NoTitle),$(!REG_VT_DWORD),$(OpSupport)}
  718.         CloseRegKey $(KeyNetcard)
  719.         goto nextnetcard
  720.     Endif
  721.      goto end
  722. successful = +
  723.     goto end
  724. abandon = +
  725.     ForListDo $(OEM_ABANDON_OPTIONS)
  726.         Shell $(UtilityInf), RemoveHardwareComponent, $(Manufacturer), +
  727.             $(ProductSoftwareName), $($)
  728.         ifint $($ShellCode) != $(!SHELL_CODE_OK)
  729.             goto ShellCodeError
  730.         endif
  731.         set RegistryErrorIndex = $($R0)
  732.         Ifstr(i) $(RegistryErrorIndex) != NO_ERROR
  733.             goto fatalregistry
  734.         endif
  735.     EndForListDo
  736.     Ifstr(i) $(OEM_ABANDON_SOFTWARE) == TRUE
  737.         Shell $(UtilityInf), RemoveSoftwareComponent, $(Manufacturer), +
  738.             $(ProductSoftwareName), FALSE
  739.         ifint $($ShellCode) != $(!SHELL_CODE_OK)
  740.             goto ShellCodeError
  741.         endif
  742.         set RegistryErrorIndex = $($R0)
  743.         Ifstr(i) $(RegistryErrorIndex) != NO_ERROR
  744.             goto fatalregistry
  745.         endif
  746.     endif
  747.     goto end
  748. warning = +
  749.     Shell $(subroutineinf) SetupMessage, $(!STF_LANGUAGE), "WARNING", $(Error)
  750.     ifint $($ShellCode) != $(!SHELL_CODE_OK)
  751.         goto ShellCodeError
  752.     endif
  753.     ifstr(i) $($R1) == "OK"
  754.         goto $(to)
  755.     else-ifstr(i) $($R1) == "CANCEL"
  756.         goto $(from)
  757.     else
  758.         goto "end"
  759.     endif
  760. nonfatalinfo = +
  761.     Set CommonStatus = STATUS_USERCANCEL
  762.     Set Severity = STATUS
  763.     goto nonfatalmsg
  764. nonfatal = +
  765.     Set Severity = NONFATAL
  766.     goto nonfatalmsg
  767. nonfatalmsg = +
  768.     ifstr(i) $(Error) == ""
  769.         Set Severity = NONFATAL
  770.         Shell $(UtilityInf) RegistryErrorString "SETUP_FAIL"
  771.         ifint $($ShellCode) != $(!SHELL_CODE_OK)
  772.             goto ShellCodeError
  773.         endif
  774.         set Error = $($R0)
  775.     endif
  776.     Shell $(subroutineinf) SetupMessage, $(!STF_LANGUAGE), $(Severity), $(Error)
  777.     ifint $($ShellCode) != $(!SHELL_CODE_OK)
  778.         goto ShellCodeError
  779.     endif
  780.     ifstr(i) $($R1) == "OK"
  781.         goto $(from)
  782.     else
  783.         goto "end"
  784.     endif
  785. fatalregistry = +
  786.     Shell $(UtilityInf) RegistryErrorString $(RegistryErrorIndex)
  787.     ifint $($ShellCode) != $(!SHELL_CODE_OK)
  788.         goto ShellCodeError
  789.     endif
  790.     set Error = $($R0)
  791.     goto fatal
  792. fatal = +
  793.     ifstr(i) $(Error) == ""
  794.         Shell $(UtilityInf) RegistryErrorString "SETUP_FAIL"
  795.         ifint $($ShellCode) != $(!SHELL_CODE_OK)
  796.             goto ShellCodeError
  797.         endif
  798.         set Error = $($R0)
  799.     endif
  800.     Shell $(subroutineinf) SetupMessage, $(!STF_LANGUAGE), "FATAL", $(Error)
  801.     ifint $($ShellCode) != $(!SHELL_CODE_OK)
  802.         goto ShellCodeError
  803.     endif
  804.     goto setfailed
  805. ShellCodeError = +
  806.     set DlgType      = "MessageBox"
  807.     set STF_MB_TITLE = $(ShellCodeErrorTitle)
  808.     set STF_MB_TEXT  = $(ShellCodeErrorText)
  809.     set STF_MB_TYPE  = 1
  810.     set STF_MB_ICON  = 3
  811.     set STF_MB_DEF   = 1
  812.     ui start "Error Message"
  813.     goto setfailed
  814. setfailed = +
  815.     set CommonStatus = STATUS_FAILED
  816.     ifstr(i) $(OEM_ABANDON_ON) == TRUE
  817.         set OEM_ABANDON_ON = FALSE
  818.         goto abandon
  819.     endif
  820.     goto end
  821. end = +
  822.     goto term
  823. term = +
  824.     Return $(CommonStatus)
  825. [Install-Option]
  826.     set STF_VITAL = ""
  827.     ifstr(i) $(AddCopy) == "YES"
  828.         AddSectionFilesToCopyList Files-$(Option) $(SrcDir) $(!STF_WINDOWSSYSPATH)\drivers
  829.     endif
  830.     ifstr(i) $(DoCopy) == "YES"
  831.        set !STF_NCPA_FLUSH_COPYLIST = TRUE
  832.        CopyFilesInCopyList
  833.     endif
  834.     Exit
  835. [Install-Hlp]
  836.    set STF_VITAL = ""
  837.    AddSectionFilesToCopyList Files-Hlp $(SrcDir) $(!STF_WINDOWSSYSPATH)
  838.    set !STF_NCPA_FLUSH_COPYLIST = TRUE
  839.    CopyFilesInCopyList
  840.    Exit
  841. [Install-Update]
  842.    set STF_VITAL        = ""
  843.    set STF_OVERWRITE    = "VERIFYSOURCEOLDER"
  844.    AddSectionFilesToCopyList Files-Hlp $(SrcDir) $(!STF_WINDOWSSYSPATH)
  845.    AddSectionFilesToCopyList Files-Inf $(SrcDir) $(!STF_WINDOWSSYSPATH)
  846.    AddSectionFilesToCopyList Files-$(Option) $(SrcDir) $(!STF_WINDOWSSYSPATH)\drivers
  847.    set !STF_NCPA_FLUSH_COPYLIST = TRUE
  848.    CopyFilesInCopyList
  849.    exit
  850. [Source Media Descriptions]
  851.     1 = "Windows NT Server CD-ROM", TAGFILE = cdrom_s.40
  852. [Signature]
  853.     FileType = MICROSOFT_FILE
  854. [GetSignature]
  855.     read-syms Signature
  856.     return $(FileType)
  857. [ProductType]
  858. STF_PRODUCT  = LanmanNT
  859. STF_PLATFORM = I386
  860. [Files-Inf]
  861. 2,    oemsetup.inf,     SIZE=1000,    RENAME=$(!UG_Filename)
  862. [Files-DC21040]
  863. 1,DC21X4.SYS , SIZE=999
  864. [Files-DC21041]
  865. 1,DC21X4.SYS , SIZE=999
  866. [Files-DC21140]
  867. 1,DC21X4.SYS , SIZE=999
  868. [Files-DC21142]
  869. 1,DC21X4.SYS , SIZE=999
  870. [Files-DE425]
  871. 1,DC21X4.SYS , SIZE=999
  872. [Files-DE434]
  873. 1,DC21X4.SYS , SIZE=999
  874. [Files-DE435]
  875. 1,DC21X4.SYS , SIZE=999
  876. [Files-DE450]
  877. 1,DC21X4.SYS , SIZE=999
  878. [Files-DE500]
  879. 1,DC21X4.SYS , SIZE=999
  880. [Files-Hlp]
  881. 1,DC21X4.HLP , SIZE=999
  882. [Files-MULTIA]
  883. 1,DC21X4.SYS , SIZE=999
  884. [LanguagesSupported]
  885.     ENG
  886. [OptionsTextENG]
  887.     DC21140  = "DEC PCI Fast Ethernet DECchip 21140"
  888. [FileConstantsENG]
  889. ProCaption   = "Windows NT Setup"
  890. ProCancel    = "Cancel"
  891. ProCancelMsg = "Windows NT Networking is not correctly installed.  "+
  892.                "Are you sure you want to cancel copying files?"
  893. ProCancelCap = "Network Setup Message"
  894. ProText1     = "Copying:"
  895. ProText2     = "To:"
  896. ProductSoftwareDescription = "DEC DC21x4 Driver"
  897. FunctionDC21040Title = "DEC DECchip 21040 Based Adapter Setup"
  898. ProductHardwareDC21040Description = "DEC PCI Ethernet DECchip 21040"
  899. ProductHardwareDC21040Title = "DEC PCI Ethernet DECchip 21040"
  900. FunctionDC21041Title = "DEC DECchip 21041 Based Adapter Setup"
  901. ProductHardwareDC21041Description = "DEC PCI Ethernet DECchip 21041"
  902. ProductHardwareDC21041Title = "DEC PCI Ethernet DECchip 21041"
  903. FunctionDC21140Title = "DEC DECchip 21140 Based Adapter Setup"
  904. ProductHardwareDC21140Description = "DEC PCI Fast Ethernet DECchip 21140"
  905. ProductHardwareDC21140Title = "DEC PCI Fast Ethernet DECchip 21140"
  906. FunctionDC21142Title = "DEC DECchip 21142 Based Adapter Setup"
  907. ProductHardwareDC21142Title = "DEC PCI Ethernet DC21142"
  908. ProductHardwareDC21142Description = "DEC PCI Fast Ethernet DECchip 21142"
  909. FunctionDE434Title   = "DEC DE434 PCI Adapter Card Setup"
  910. ProductHardwareDE434Description   = "DEC DE434 EtherWORKS Turbo PCI TP Adapter"
  911. ProductHardwareDE434Title   = "DEC DE434 EtherWORKS Turbo PCI TP Adapter"
  912. FunctionDE435Title   = "DEC DE435 PCI Adapter Card Setup"
  913. ProductHardwareDE435Description   = "DEC DE435 EtherWORKS Turbo PCI Adapter"
  914. ProductHardwareDE435Title   = "DEC DE435 EtherWORKS Turbo PCI Adapter"
  915. FunctionMULTIATitle = "DEC multia's Ethernet Controller Setup"
  916. ProductHardwareMULTIADescription = "DEC multia's Ethernet Controller"
  917. ProductHardwareMULTIATitle = "DEC multia's Ethernet Controller"
  918. FunctionDE425Title   = "DEC DE425 EISA Adapter Card Setup"
  919. ProductHardwareDE425Description   = "DEC DE425 EtherWORKS Turbo EISA Adapter"
  920. ProductHardwareDE425Title   = "DEC DE425 EtherWORKS Turbo EISA Adapter"
  921. FunctionDE450Title   = "DEC DE450 PCI Adapter Card Setup"
  922. ProductHardwareDE450Description   = "DEC DE450 EtherWORKS Turbo PCI Adapter"
  923. ProductHardwareDE450Title   = "DEC DE450 EtherWORKS Turbo PCI Adapter"
  924. FunctionDE500Title   = "DEC DE500 PCI Adapter Card Setup"
  925. ProductHardwareDE500Description   = "DEC DE500 Fast Ethernet PCI Adapter"
  926. ProductHardwareDE500Title   = "DEC DE500 Fast Ethernet PCI Adapter"
  927. ConnectionList  = ^(ConnectionChoices$(Option), 1)
  928. ConnectionValues = ^(ConnectionChoices$(Option), 2)
  929. NoList  = ^(NoChoices, 1)
  930. NoValues = ^(NoChoices, 2)
  931. ShellCodeErrorTitle     = "Error: "$(Function$(Option)Title)
  932. ShellCodeErrorText      = "Shell Code Error."
  933. CANNOT_FIND_ANY_CARD    = "Network card is not present in the system"
  934. [DialogConstantsENG]
  935. Help        = "&Help"
  936. Exit        = "Cancel"
  937. OK          = "OK"
  938. HelpContext = ""
  939. Continue    = "Continue"
  940. Cancel      = "Cancel"
  941. [FileDependentDlgENG]
  942. DlgText = "Choose the proper cable type for the "+
  943.           "network adapter. Select [Help] for a detailed "+
  944.           "description of the available options of the list."
  945. Combo1Label = "&Connection Type:"
  946. DlgTemplate = "ADAP_PROTO_COMBO"
  947. DlgType = "Combination"
  948. Caption = $(Function$(Option)Title)
  949. Combo1List = $(ConnectionList)
  950. Combo1Out  = $(ConnectionValue)
  951. ComboListItemsIn  = {Combo1List}
  952. ComboListItemsOut = {Combo1Out}
  953. EditTextLim = ""
  954. CBOptionsGreyed = {}
  955. MinHelpId = 10
  956. MaxHelpId = 1130
  957. HelpContext = $(Help$(Option)Id)
  958. [ConnectionChoicesDC21040]
  959.     Connect_0 = "AutoDetect", 0
  960.     Connect_1 = "10BaseT (Twisted_Pair) ", 2
  961.     Connect_2 = "10BaseT Full_Duplex ", 3
  962.     Connect_3 = "10BaseT No_Link_Test", 4
  963.     Connect_4 = "10Base2 (BNC)", 1
  964.     Connect_5 = "10Base5 (AUI)", 5
  965. [ConnectionChoicesDC21041]
  966.     Connect_0 = "AutoSense", 0
  967.     Connect_1 = "AutoSense No_Nway", 6
  968.     Connect_2 = "10BaseT (Twisted_Pair) ", 2
  969.     Connect_3 = "10BaseT Full_Duplex ", 3
  970.     Connect_5 = "10BaseT No_Link_Test", 4
  971.     Connect_6 = "10Base2 (BNC)", 1
  972.     Connect_7 = "10Base5 (AUI)", 5
  973. [ConnectionChoicesDC21140]
  974.     Connect_0 = "AutoSense", 0
  975.     Connect_1 = "AutoSense No_Nway", 6
  976.     Connect_2 = "100BaseTx", 8
  977.     Connect_3 = "100BaseTx Full_Duplex", 9
  978.     Connect_4 = "100BaseT4", 10
  979.     Connect_5 = "100BaseFx", 11
  980.     Connect_6 = "100BaseFx Full_Duplex", 12
  981.     Connect_7 = "10BaseT (Twisted Pair)", 2
  982.     Connect_8 = "10BaseT Full_Duplex", 3
  983. [ConnectionChoicesDC21142]
  984.     Connect_0 = "AutoSense", 0
  985.     Connect_1 = "100BaseTx", 8
  986.     Connect_2 = "100BaseTx Full_Duplex", 9
  987.     Connect_3 = "100BaseT4", 10
  988.     Connect_4 = "100BaseFx", 11
  989.     Connect_5 = "100BaseFx Full_Duplex", 12
  990.     Connect_6 = "10BaseT (Twisted_Pair) ", 2
  991.     Connect_7 = "10BaseT Full_Duplex", 3
  992.     Connect_8 = "10BaseT No_Link_Test", 4
  993.     Connect_9 = "10Base2 (BNC)", 1
  994.     Connect_10= "10Base5 (AUI)", 5
  995. [ConnectionChoicesMULTIA]
  996.     Connect_0 = "AutoDetect", 0
  997.     Connect_1 = "10BaseT (Twisted_Pair) ", 2
  998.     Connect_2 = "10BaseT Full_Duplex ", 3
  999.     Connect_3 = "10BaseT No_Link_Test", 4
  1000.     Connect_4 = "10Base2 (BNC)", 1
  1001.     Connect_5 = "10Base5 (AUI)", 5
  1002. [ConnectionChoicesDE434]
  1003.     Connect_0 = "10BaseT (Twisted_Pair) ", 2
  1004.     Connect_1 = "10BaseT Full_Duplex ", 3
  1005.     Connect_2 = "10BaseT No_Link_Test", 4
  1006. [ConnectionChoicesDE435]
  1007.     Connect_0 = "AutoDetect", 0
  1008.     Connect_1 = "10BaseT (Twisted_Pair) ", 2
  1009.     Connect_2 = "10BaseT Full_Duplex ", 3
  1010.     Connect_3 = "10BaseT No_Link_Test", 4
  1011.     Connect_4 = "10Base2 (BNC)", 1
  1012.     Connect_5 = "10Base5 (AUI)", 5
  1013. [ConnectionChoicesDE450]
  1014.     Connect_0 = "AutoSense", 0
  1015.     Connect_1 = "AutoSense No_Nway", 6
  1016.     Connect_2 = "10BaseT (Twisted_Pair) ", 2
  1017.     Connect_3 = "10BaseT Full_Duplex ", 3
  1018.     Connect_4 = "10BaseT No_Link_Test", 4
  1019.     Connect_5 = "10Base2 (BNC)", 1
  1020.     Connect_6 = "10Base5 (AUI)", 5
  1021. [ConnectionChoicesDE500]
  1022.     Connect_0 = "AutoSense", 0
  1023.     Connect_1 = "100BaseTx", 8
  1024.     Connect_2 = "100BaseTx Full_Duplex", 9
  1025.     Connect_3 = "10BaseT", 2
  1026.     Connect_4 = "10BaseT Full_Duplex", 3
  1027.